import { createRouter, createWebHistory } from 'vue-router'
import ListPage from './page/ListPage.vue'
import HomePage from './page/HomePage.vue'

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/list',
            component: ListPage
        },
        {
            path: '/home',
            alias: '/',
            component: HomePage
        }
    ]
}

)
export default router